package cn.game.core;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class CardGame implements Game{
	private List<Room> rooms;// 游戏的房间
	public CardGame(){
		rooms = new LinkedList<Room>();
	}
	
	public void init(Map param) {
		
	}

	
	public void start() {
		
	}

	
	public void end() {
		
	}

	public List<Room> getRooms() {
		return rooms;
	}

	public void setRooms(List<Room> rooms) {
		this.rooms = rooms;
	}

	public void addRoom(Room room) {
		this.rooms.add(room);
	}
}
